import request from '@/utils/request'

const protocolApi = {
    queryRewardOrderForm: '/web/query/reward/order/form', // 用户打赏记录
    queryRewardRanking: '/web/reward/order/form', // 查询打赏排名
}

// 查询用户打赏记录
export function queryRewardOrderForm(parameter){
    return request({
        url: protocolApi.queryRewardOrderForm,
        method: 'post',
        headers: {
            'name': 'queryRewardOrderForm',
        },
        data: parameter
    })
}
// 查询打赏排名 
export function queryRewardRanking(parameter){
    return request({
        url: protocolApi.queryRewardRanking,
        method: 'post',
        headers: {
            'name': 'queryRewardRanking',
        },
        data: parameter
    })
}